<?php
$name = $message->name;
$inputMedia = $message->getInputMediaManager()->getInputMedia('myPools');
$question = 'no-question';
if ($inputMedia instanceof BWInputMedia)
    $question = $inputMedia->content;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div style="font-family: 微软雅黑; font-size: 14px; line-height: 28px">
    <div style="border: 1px solid #dedede; padding: 8px 8px; background-color: white; margin: 10px;">
        <div style="text-align: center;margin-bottom: 4px;padding:0 1px;">
            <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/mobile/tou1.jpg" style="width:100%; height:130px;"/>
        </div>
        <div style="padding: 0;">
            <div style="font-weight: bold; color:blueviolet;">Name: <?php echo $name; ?></div>
            <div style="font-weight: bold; color:#dedede;">Question：<?php echo $question; ?></div>
             <div style="font-weight: bold; "> <p>
        <?php
        echo $control->getLink(
                array('name' => 'go ' . $name,
            'id' => 'showMessage'), array(
            'messageId' => $message->getId(),
            'messageView' => 'myPools_messageView',
            'htmlOptions' => array('enctype' => 'multipart/form-data', 'class' => 'btn')));
        ?>
    </p></div>
        </div>
    </div>
     
   
</div>
</div>